//
//  UIViewController+NEDCallBack.m
//  AFNetworking
//
//  Created by 000 on 2022/3/3.
//

#import "UIViewController+NEDCallBack.h"
#import <objc/runtime.h>

@implementation UIViewController (NEDCallBack)

-(NEDViewControllerCallBlock)ned_callback{
    return objc_getAssociatedObject(self, @selector(ned_callback));
}

-(void)setNed_callback:(NEDViewControllerCallBlock)ned_callback{
    objc_setAssociatedObject(self, @selector(ned_callback), ned_callback, OBJC_ASSOCIATION_COPY_NONATOMIC);
}


@end
